package com.yanqu.road.entity.clinic;

import com.yanqu.road.entity.DataObject;

/**
 * @author ：zfr
 * @date ：2021/2/24 15:42
 * 医馆科室
 */
public class DepartmentData extends DataObject {
    /**
     * 玩家id
     */
    private long userId;
    /**
     * 科室类型
     */
    private int type;
    /**
     * 科室等级
     */
    private int level;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        if (this.level != level) {
            this.level = level;
            setUpdateOption();
        }
    }
}

